package com.example.demo.entity;

import lombok.Data;

@Data
public class file {
    private int id;
    private String type;
    private String name;
    private String memory;
    private String time;
    private String src;

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return "{\"file\":{"
                + "\"id\":"
                + id
                + ",\"type\":\""
                + type + '\"'
                + ",\"name\":\""
                + name + '\"'
                + ",\"memory\":\""
                + memory + '\"'
                + ",\"time\":\""
                + time + '\"'
                + ",\"src\":\""
                + src + '\"'
                + "}}";

    }
}
